package com.example.entity;

import java.util.List;
/**
 * 车辆实体类，注意最后的属性
 * @author Roy
 *
 */
public class Vehicle {
	private String id="";
	private String idno="";
	private String vno="";//标示字段，对应record表
	private String color="";
	private String createTime="";
	private String type="";
	private String product="";
	private String picUrl="";
	private List<VehicleFaultInfo> records;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getIdno() {
		return idno;
	}

	public void setIdno(String idno) {
		this.idno = idno;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getProduct() {
		return product;
	}

	public void setProduct(String product) {
		this.product = product;
	}


	public List<VehicleFaultInfo> getRecords() {
		return records;
	}

	public void setRecords(List<VehicleFaultInfo> records) {
		this.records = records;
	}

	public String getVno() {
		return vno;
	}

	public void setVno(String vno) {
		this.vno = vno;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	@Override
	public String toString() {
		return "Vehicle [id=" + id + ", idno=" + idno + ", vno=" + vno
				+ ", color=" + color + ", createTime=" + createTime + ", type="
				+ type + ", product=" + product + ", picUrl=" + picUrl
				+ ", records=" + records + "]";
	}

}
